import api from '@/common/api.js';
export default {
  //参与活动
  Sign(data,header){
    return api.get('/activitySign/sign/up',data,header);
  },
  //初始化
  init(){
    return api.get('/activitySign/sign/init');
  },
  //打卡
  SignIn(data){
    return api.get('/activitySign/sign/in',data);
  },
  // 报名标记
  SignDay(data){
    return api.get('/activitySign/sign/in-flag',data);
  },
  // 打卡标记
  SignFlag(data){
    return api.get('/activitySign/sign/up-flag',data);
  },
  // 领红包标记
  profitFlag(data){
    return api.get('/activitySign/sign/profit-flag',data);
  },
  //查询今日数据
  getDay(data){
    return api.get('/activitySign/sign/day-invest',data)
  },
  //查询今天打卡红包
  getCurrentProfit(data){
    return api.get('/activitySign/sign/getCurrentProfit',data)
  },
  //查询当月奖池
  getMonth(data){
    return api.get('/activitySign/sign/month-pool',data)
  },
  //打卡排行榜
  getRank(){
    return api.get('/activitySign/sign/in-rank')
  },
  //领取打卡红包
  getProfit(){
    return api.get('/activitySign/sign/getProfit');
  },
  //成功打卡人数
  getUserNumber(){
    return api.get('/activitySign/sign/old-signup');
  },
  //邀请排行榜
  getInvitList(){
    return api.get('/activitySign/sign/in-inviterank');
  }
}